package com.magic233.mapper;

import com.github.pagehelper.Page;
import com.magic233.entity.Message;

import java.util.List;

public interface MessageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Message record);

    int insertSelective(Message record);

    Message selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Message record);

    int updateByPrimaryKey(Message record);

    Page<Message> selectMessage(Message message);

    int updateStatus(Message message);
}